<template>
    <view class="load-more">{{ statusMap[loadStatus] }}</view>
</template>

<script>
export default {
    props: {
        loadStatus: {
            type: Number,
            default: 0
        }
    },
    data() {
        return {
            statusMap: {
                0: '上滑加载更多',
                1: '加载中...',
                2: '没有更多数据了',
            }
        }
    },
    methods: {}
}
</script>

<style scoped lang="scss">
.load-more {
    color: #7F7F7F;
    font-size: 26rpx;
    text-align: center;
}
</style>
